import { library, /* dom */ } from '@fortawesome/fontawesome-svg-core';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';

import {
	faHome,
	faEdit,
	faSearch,
	faPassport,
	faEraser,
	faPencilAlt,
	faGlobe,
	faExternalLinkAlt,
	faUser,
	faUserCircle,
	faCopy,
	faEnvelope,
	faBan,
	faIdCard,
	faMobileAlt,
	faChevronDown,
	faBars,
	faSignInAlt,
	faChevronRight,
	faCaretRight,
	faBusinessTime,
	faGlobeAsia,
	faBuilding,
	faFile,
	faCube,
	faAddressCard,
	faChartLine,
	faCoins,
	faClock,
	faUsers,
	faExclamationCircle,
	faMap,
	faAngleLeft,
	faAngleRight,
	faCheckCircle,
	faTimesCircle,
	faHourglassEnd,
	faPlus,
	faKey,
	faArrowLeft,
	faBookmark,
} from '@fortawesome/free-solid-svg-icons';

// import {
// } from '@fortawesome/free-regular-svg-icons';

import {
	faQq,
	faWeibo,
	faTwitter,
	faGoogle,
	faFacebookSquare,
	faWeixin,
	faGithub,
} from '@fortawesome/free-brands-svg-icons';

library.add(
	faHome,
	faEdit,
	faSearch,
	faPassport,
	faEraser,
	faPencilAlt,
	faGlobe,
	faExternalLinkAlt,
	faUser,
	faUserCircle,
	faCopy,
	faEnvelope,
	faBan,
	faIdCard,
	faMobileAlt,
	faChevronDown,
	faBars,
	faSignInAlt,
	faChevronRight,
	faCaretRight,
	faBusinessTime,
	faGlobeAsia,
	faBuilding,
	faFile,
	faCube,
	faAddressCard,
	faChartLine,
	faCoins,
	faClock,
	faUsers,
	faExclamationCircle,
	faMap,
	faAngleLeft,
	faAngleRight,
	faCheckCircle,
	faTimesCircle,
	faHourglassEnd,
	faPlus,
	faKey,
	faArrowLeft,
	faBookmark,

	faQq,
	faWeibo,
	faTwitter,
	faGoogle,
	faFacebookSquare,
	faWeixin,
	faGithub,
);

// dom.watch();

export default function() {
	Vue.component('Fa', FontAwesomeIcon);
}